<template>
<div id="">
  <button class="btn btn-success" @click="toast()">按钮</button>
</div>
</template>
<script>
import {
  Toast
} from 'mint-ui'
export default {
  methods: {
    toast() {
      Toast({
        message: "我是弹框效果",
        position: "top",
        duration: 2000
      })
    }
  }
}
</script>
<style scoped>
</style>
